<!doctype html>
<html ng-app="backendApp" ng-controller="loginController" lang="en">
<head>
  <meta charset="utf-8" />
  <title ng-bind="'LOGIN - ' + menu.currentSection.name +
  (menu.currentSection === menu.currentPage ? '' : ' > ' + menu.currentPage.name)">
  Login
</title>
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<meta name="viewport" content="initial-scale=1" />

<link rel="stylesheet" type="text/css" href="node_modules/angular-material/angular-material.css">
<link rel="stylesheet" href="css/login.css">

</head>
<body>

<md-content class="md-padding">
<form role="form">

    <div layout layout-sm="column">
        <md-input-container flex>
        <label>Login</label>
        <input ng-model="loginData.userName" required autofocus>
    </md-input-container>
    </div>
    <div layout layout-sm="column">
    <md-input-container flex>
    <label>Password</label>
    <input type="password" ng-model="loginData.password" required>
</md-input-container>
</div>
<section layout="row" layout-sm="column" layout-align="center center" layout-wrap>
    <md-button class="md-raised md-primary" type="submit" data-ng-click="login()">Login</md-button>
</section>


<div data-ng-hide="message == ''" class="alert alert-danger">
    {{message}}
</div>

</form>
</md-content>


<script src="node_modules/angular/angular.min.js"></script>
<script src="node_modules/angular-animate/angular-animate.min.js"></script>
<script src="node_modules/angular-route/angular-route.min.js"></script>
<script src="node_modules/angular-aria/angular-aria.min.js"></script>
<script src="node_modules/angular-messages/angular-messages.min.js"></script>

<script src= "node_modules/angular-material/angular-material.js"></script>
<script src= "node_modules/angularytics/dist/angularytics.min.js"></script>

<script src="//cdn.jsdelivr.net/angular-material-icons/0.4.0/angular-material-icons.min.js"></script> 

<script src= "app/app.js"></script>
<script src= "app/config.router.js"></script>
<script src= "app/directives/menu.js"></script>
<script src= "app/filters/menu.js"></script>

<script src= "app/controllers/loginController.js"></script>



<script src= "app/services/menuService.js"></script>






<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','node_modules/angularytics/dist/angularytics.js','ga');

ga('create', 'UA-8594346-14', 'auto');
ga('send', 'pageview');
</script>

</body>
</html>
